/* 0.网站样式统一定义 */
html {
  font-size: 62.5%;
}

body {
  color: #333;
  font-size: 1.2rem;
  line-height: 2rem;
  --site-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
p,
figure {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  color: #89211b;
}

/* 自适应父容器大小 */
img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

/* 0-1. 页面容器宽度定义 */
header,
nav,
main,
footer {
  width: calc(var(--site-width));
  margin: 0 auto;
}

/* 0-2. 公用定义 */
.w1200 {
  width: 120rem;
  margin: 0 auto;
}

.fl {
  float: left;
}

.mt10{
  margin-top: 1rem;
}

.mt20{
  margin-top: 2rem;
}

.mt30{
    margin-top: 3rem;
}

/* 1.页面头部 */
header {
  background: #282828;
  min-width: max-content;
}
.top_nav {
  display: flex;
  color: #a5a4a4;
  align-items: center;
  height: 3rem;
}

.top_nav .push_right {
  margin-left: auto;
}

.top_nav a {
  color: #a5a4a4;
  padding-right: 1rem;
}

.top_nav a:not(:last-of-type)::after {
  content: "|";
  display: inline-block;
  margin-left: 1rem;
}

.logo {
  margin: 0 auto;
  height: 100px;
  background: #89211b url(../images/head-bg.jpg) no-repeat center center;
}

.logo h1 {
  height: 100px;
}

/* 2.页面导航 */
nav {
  background: #ebebeb;
  min-width: max-content;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

nav li {
  flex: 1;
}

nav a {
  display: block;
  text-align: center;
  height: 4rem;
  line-height: 4rem;
  overflow: hidden;
}

nav li > a {
  font-size: 1.6rem;
}

nav li:first-of-type > a {
  color: #fff;
  background-color: #89211b;
}

nav li:hover > a {
  color: #fff;
  background-color: #89211b;
}

/* 二级导航菜单 */
nav .sub_menu {
  display: none;
  position: absolute;
}

nav li:hover ul.sub_menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: #89211b;
  width: calc(120rem / 9);
  z-index: 999;
}

nav ul.sub_menu a {
  color: #fff;
  font-size: unset;
}

nav ul.sub_menu li:hover > a {
  background-color: #a1261f;
}

/* 3.页面主体 */

/* 3-1. 宣传图轮播 */
.banner{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 33.5rem;
    overflow: hidden;
    background-color: rgba(0,0,0,0.5);
}

/* 两边边界 */
.banner .edge{
    top:0;
    flex: 0 0 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 99;
    position: relative;
}

.banner a.arrow{
    position: absolute;
    display: block;
    width: 6rem;
    height: 100%;
    cursor:pointer;
    background-color: rgba(0,0,0,0.6);
}

.banner a.prev{
    right:0;
    background: url(../images/slider-arrow.png) -18rem 0   no-repeat ;
}

.banner a.prev:hover{
    background: url(../images/slider-arrow.png) -12rem 0   no-repeat ;   
}

.banner a.next{
    left: 0;
    background: url(../images/slider-arrow.png) -6rem 0   no-repeat ;   
}

.banner a.next:hover{
    background: url(../images/slider-arrow.png) 0 0   no-repeat ;    
}

/* 轮播图的视窗区域 */
.banner .banner_list{
    flex: 0 0 120rem;
    display: flex;
    height: 33.5rem;
    max-width: 120rem;
}

.banner figure{
    flex: 1 0 100vw;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.banner figure:first-of-type{
    margin-left: -120rem;
}

.banner figure img{
    max-height: 33.5rem;
}

.banner figure figcaption{
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
    height: 4rem;
    line-height: 4rem;
    margin-top: -4rem;
    margin-left: 2rem;
    background: url(../images/tbg.png);
}

/* 学院新闻 & 通知公告 & 学工动态 标题定义 */
.t header{
    display: flex;
    background: transparent;
    align-items: center;
    border-bottom: 1px #b2b2b2 dashed;
    height: 5rem;
    padding-bottom: 1rem;
    color: #89211b;
}

.t header img{
    margin-right: 1rem;
}

.t header h2{
    font-size: 2rem;
    font-weight: normal;
}

.t header a{
    margin-left: auto;
}

/* 3-2 学院新闻  */
.news article{
    display: flex;
    justify-content: center;
    height: 28.5rem;
}

.news ul:nth-of-type(1){
    flex: 0 0 64rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.news ul:nth-of-type(1) li{
    width: 29rem;
    margin-right: 3rem;
    background-color: #f7f7f7;
    color: #666;
}

.news ul:nth-of-type(1) img{
    width: 100%;
    height: 19rem;
    border-bottom: 3px #efab09 solid;
}

.news ul:nth-of-type(1) a.news_title{
    display: inline-block;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 0 1rem;
    height: 2.4rem;
    line-height: 2.4rem;
}

.news ul:nth-of-type(1) p{
    padding: .5rem 1rem 0 1rem;
    height: 4rem;
    line-height: 2rem;
}

.news ul:nth-of-type(1) span{
    padding-left: 1rem;
}


.news ul:nth-of-type(2){
  flex: 0 0 56rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.news ul:nth-of-type(2) li{
  width: 27rem;
  border-bottom: 1px #e1e1e1 solid;
  height: 4.8rem;
  line-height: 2.4rem;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}


/* 3-3. 通知公告&学工动态&外链 */
.message{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 39.5rem;
  background: #f7f7f7 url(../images/bg.jpg) no-repeat center top;
  overflow: hidden;
}

/* 通知公告 */
.message section:nth-of-type(1){
  flex: 0 0 54rem;
  margin-right: 5rem;
}

.message section:nth-of-type(1) li{
  height: 7rem;
}

.message section:nth-of-type(1) li a{
  font-size: 1.4rem;
  font-weight: bold;
}

.message section:nth-of-type(1) li div:nth-of-type(2){
  margin-left: 1rem;
}

.message section:nth-of-type(1) li span{
  display: block;
  width: 7rem;
  height: 3.5rem;
  line-height: 3.5rem;
  text-align: center;
}

.message section:nth-of-type(1) li span:nth-of-type(1){
  background-color: #89211b;
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
}

.message section:nth-of-type(1) li span:nth-of-type(2){
  border: 1px #bcbcbc solid;
  width: 6.8rem;
  height: 3.3rem;
  line-height: 3.3rem;
  font-size: 1.4rem;
}

.message section:nth-of-type(1) p{
  margin: 1rem 0;
}


/* 学工动态 */
.message section:nth-of-type(2){
  flex: 0 0 40rem;
}

.message section:nth-of-type(2) li{
  background: url(../images/icon6.png) no-repeat left center;
  height: 3.3rem;
  line-height: 3.3rem;
  padding-left: 2rem;
  font-size: 1.4rem;
  overflow: hidden;
}

/* 外链 */
.message aside{
  flex: 0 0 21rem;
}

.message aside ul{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  margin-top: 1.5rem;
}

.message aside a{
  display: inline-block;
  width: 11.5rem;
  height: 4.8rem;
  line-height: 4.8rem;
  border: 1px #d4d4d4 solid;
  padding-left: 6.5rem;
  margin-top: .5rem;
  font-size: 1.4rem;
}

.message aside a:hover{
  border: 1px solid #89211b;
  background-color: #89211b;
  color: #fff;
}

.icon1 {
  background: url(../images/b1.png) no-repeat 2rem center;
}

.icon1:hover {
  background: url(../images/b01.png) no-repeat 2rem center;
}

.icon2 {
  background: url(../images/b2.png) no-repeat 2rem center;
}

.icon2:hover {
  background: url(../images/b02.png) no-repeat 2rem center;
}

.icon3 {
  background: url(../images/b3.png) no-repeat 2rem center;
}

.icon3:hover {
  background: url(../images/b03.png) no-repeat 2rem center;
}

.icon4 {
  background: url(../images/b4.png) no-repeat 2rem center;
}

.icon4:hover {
  background: url(../images/b04.png) no-repeat 2rem center;
}

.icon5 {
  background: url(../images/b5.png) no-repeat 2rem center;
}

.icon5:hover {
  background: url(../images/b05.png) no-repeat 2rem center;
}

.icon6 {
  background: url(../images/b6.png) no-repeat 2rem center;
}

.icon6:hover {
  background: url(../images/b06.png) no-repeat 2rem center;
}

/* 3-4.专题网站 */
.topic ul{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

.topic li{
  flex: 0 0 27rem;
  margin: 2rem 3.8rem 2rem 0;
}

.topic li img{
  width: 27rem;
  height: 14rem;
}

/* 4.页面底部定义 */
footer{
  height: 11.7rem;
  background: rgba(0,0,0,0.7) url(../images/f-bg.jpg) no-repeat center center;
  color: #fff;
  font-size:1.4rem;
  padding-top: 1rem;
}

footer address{
  font-style: normal;
}
